package com.yssw.image.domain;

import com.yssw.common.annotation.Excel;
import com.yssw.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图片资源对象 image_table
 * 
 * @author yssw
 * @date 2023-05-09
 */
public class ImageTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 文件 */
    @Excel(name = "文件")
    private String fileType;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    /** 附带文字 */
    @Excel(name = "文件")
    private String text;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("filePath", getFilePath())
            .append("fileType", getFileType())
            .toString();
    }
}
